package com.own.utils;

import java.util.List;

/**
 * 用于分页
 * @author mjm
 * @history 2011-7-1
 */
public class Page {
	private int totalrows;//共多少行
	private int rows;//每页多少行
	private int page;//当前页
	private List pageItems;//当前页内容

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public List getPageItems() {
		return pageItems;
	}

	public void setPageItems(List pageItems) {
		this.pageItems = pageItems;
	}

	public int getTotalrows() {
		return totalrows;
	}

	public void setTotalrows(int totalrows) {
		this.totalrows = totalrows;
	}
}
